home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000419_news@watsun.cc.columbia.edu _Mon Mar 29 13:49:33 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA09340
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 29 Mar 1999 13:49:31 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA06194
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 29 Mar 1999 13:45:53 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: setting up kermit
  11. Date: 29 Mar 1999 18:45:44 GMT
  12. Organization: Columbia University
  13. Message-ID: <7dohoo$61d$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <7doh16$k8c$1@nnrp1.dejanews.com>,  <jf3@my-dejanews.com> wrote:
  17. : Ok here is some information that I figured out....
  18. : THis is my script:
  19. : ------------------------------------------------------------
  20. : set input timeout proceed
  21. : set modem hayes
  22. : set dial dial-command atdt%s\{13}
  23. : set dial display on
  24. : set local-echo on
  25. : set duplex full
  26. : set line /dev/cua/b
  27. : set speed 19200
  28. : set parity even
  29. : set script echo
  30. : echo
  31. : clear
  32. : goto main
  33. : :tryagain
  34. : echo Trying again\7\13
  35. : hangup
  36. : :main
  37. : OUTPUT ATDT9,4250824\13
  38. : INPUT 40 CONNECT
  39. : IF FAILURE GOTO tryagain
  40. : INPUT 15 ID=
  41. : OUTPUT M\13
  42. : INPUT 15 ID,
  43. : OUTPUT 4353389\13
  44. : INPUT 15 essage
  45. : OUTPUT uagent is running on spruce fir cedar willow and poplar\13
  46. : hangup
  47. : exit
  48. : ---------------------------------------------------------
  49. : If I type in the first half by hand (all of the set statements) and then I
  50. : type dial 94250824.  It works like a charm and I can get it and manually do
  51. : all of the things that my script does. However if I manually type in the
  52. : OUTPUT ATDT line then I get the same error message:
  53. : ?Connection on /dev/cua1 is not open.
  54. : ?Connection on /dev/cua1 is not open.
  55. : Trying again
  56. : So that would say to me that there is a problem with the OUTPUT line??  Does
  57. : this make sense??  Has the scripting changed from version 6 to 7??
  58. There is a difference between OUTPUT and DIAL.  DIAL is special because it
  59. does not require the carrier signal to be present on the serial device; after
  60. all, how can it be, since the connection has not yet been made?
  61.  
  62. OUTPUT, on the other hand, does require carrier unless you first tell it not
  63. to with "set carrier-watch off".
  64.  
  65. Why not just use the DIAL command?
  66.  
  67. - Frank